package xerr

//员工模块
const NEED_AUTH_PHONE_ERROR uint32 = 200001
const PHONE_CODE_ERR uint32 = 200002
const STAFF_ALREADY_EXIST uint32 = 200003
const STAFF_NOT_FOUND uint32 = 200004
const PHONE_NUM_ERR uint32 = 200005
const STAFF_RPC_ERR uint32 = 200006
const WECHAT_AUTH_ERR uint32 = 200007
const WECHAT_AUTH_RPC_ERR uint32 = 200008
const WECHAT_AUTH_NEED_BIN_MOBILE uint32 = 200009

func init() {
	message[NEED_AUTH_PHONE_ERROR] = "需要验证手机号"
	message[PHONE_CODE_ERR] = "验证码错误"
	message[STAFF_ALREADY_EXIST] = "员工已存在"
	message[STAFF_NOT_FOUND] = "员工不存在"
	message[STAFF_RPC_ERR] = "staffRPC 调用出错"
	message[WECHAT_AUTH_ERR] = "小程序验证失败"
	message[WECHAT_AUTH_RPC_ERR] = "wechat rpc 出错"
	message[WECHAT_AUTH_NEED_BIN_MOBILE] = "需要绑定手机"
}
